package nimble.commons.time;

import com.sun.istack.internal.NotNull;

import java.util.Calendar;
import java.util.Date;


public class DateUtils {

    public static boolean isSameDay(final Date date1, final Date date2)
    {
        return org.apache.commons.lang3.time.DateUtils.isSameDay(date1,date2);
    }

    public static boolean isSameDay(final Calendar cal1, final Calendar cal2)
    {
        return org.apache.commons.lang3.time.DateUtils.isSameDay(cal1,cal2);
    }

    public static Date addDays(@NotNull final Date date, final int amount)
    {
        return org.apache.commons.lang3.time.DateUtils.addDays(date,amount);
    }
}
